package loan.calc.service.base.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import loan.calc.domain.DictItemDO;
import loan.calc.service.base.DictItemService;
import loan.calc.mapper.DictItemMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author v_ECD963
* @description 针对表【dict_item(数据字典表)】的数据库操作Service实现
* @createDate 2023-04-07 16:02:55
*/
@Service
public class DictItemServiceImpl extends ServiceImpl<DictItemMapper, DictItemDO>
    implements DictItemService{

    @Override
    public List<DictItemDO> listByDictValue(String dictValue) {
        return this.lambdaQuery().eq(DictItemDO::getDictValue, dictValue).list();
    }

}




